package com.syn.michat.model;

import com.syn.michat.constant.ErrorContants;

/**
 * 请求返回封装类
 **/

public class ResponseEntity {

    // 结果是否成功
    private String status = ErrorContants.RESPONSE_STATUS_SUCCESS;

    private Object data;

    public ResponseEntity() {}

    public ResponseEntity(Object data) {
        this.data = data;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
